package com.ericom.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ericom.dao.GroupSaleDao;
import com.ericom.model.GroupSale;
import com.ericom.service.GroupSaleManager;

@Service("groupSaleManager")
public class GroupSaleManagerImpl extends GenericManagerImpl<GroupSale, Long> implements
		GroupSaleManager {

	GroupSaleDao groupSaleDao;
	@Autowired
	public GroupSaleManagerImpl(GroupSaleDao groupSaleDao){
		super(groupSaleDao);
		this.groupSaleDao=groupSaleDao;
	}

	@Override
	public List<GroupSale> findByTitle(String title) {
	
		return groupSaleDao.findByTitle(title);
	}

}
